﻿using System;
using System.Collections.Generic;

namespace gvPoco.ChartOptions
{
    public class Bar
    {
        /// <summary>
        /// The width of a group of bars, specified in either of these formats:
        /// Pixels (e.g. 50).
        /// Percentage of the available width for each group (e.g. '20%'), where '100%' means that groups have no space between them.
        /// </summary>
        public dynamic groupWidth { get; set; }

        public Bar() 
        {
            groupWidth = "61.8%"; // The Golden Ratio
        }

        public Bar(string theGroupWidth) 
        {
            groupWidth = theGroupWidth;
        }
    }
}
